/**
 * Created by bgy on 2016/12/5.
 * 到货订单详情
 */
import React from 'react';
import {Link} from 'react-router';

import HeaderTitle from '../../components/common/HeaderTitle';

var CgOrderDetail = React.createClass({
  getInitialState:function(){
    var id = this.props.params.id;
    var title = this.props.params.title;
    return null;
  },
  render() {
    return (
      <div className="full">
        <HeaderTitle title="到货单详情"/>
        <div className="orderDetail">
          <article className="orderContent">
            <div className="orderItem"><label htmlFor="">到货单号：</label><span>asdfadfafasfasdfa</span><img src="" alt=""/></div>
            <div className="orderItem"><label htmlFor="">到货日期：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">到货机构代码：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">下单日期：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">到货总金额：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">到货品种数：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">备注：</label><span>asdfadfafasfasdfa</span></div>
            <hr/>
            <div className="orderItem"><label htmlFor="">订单号：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">商品名称：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">商品代码：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">采购单价：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">采购数量：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">采购金额：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">要求供货时间：</label><span>asdfadfafasfasdfa</span></div>
            <hr/>
            <div className="showDetail">
              <Link to="" className="link left">·<span style={{marginRight:'0.6rem',marginLeft:'0.6rem'}}>查看到货质检单</span>></Link>
            </div>
          </article>
        </div>
      </div>
    )
  }
});
export default CgOrderDetail;
